package com.orange.modules.entity.expert;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

@Table(name="t_auth_expert_advice")
@Entity
public class AuthExpertAdvice {

	private String pid ;//[p_id] 
	private String expertId;
	private String groupId;
	private String keyword;//关键字
	private String detailedAdvice;//详细意见和建议
	/*private String keyword2;
	private String detailedAdvice2;
	private String keyword3;
	private String detailedAdvice3;
	private String keyword4;
	private String detailedAdvice4;
	private String keyword5;
	private String detailedAdvice5;*/
	private String createTime;
	
	private String expertName;
	private String groupName;
	
	@Id
	@GeneratedValue(strategy=GenerationType.AUTO)
	@Column(name = "p_id")
	public String getPid() {
		return pid;
	}
	public void setPid(String pid) {
		this.pid = pid;
	}
	@Column(name = "s_expert_id",length=50)
	public String getExpertId() {
		return expertId;
	}
	public void setExpertId(String expertId) {
		this.expertId = expertId;
	}
	@Column(name = "s_group_id",length=50)
	public String getGroupId() {
		return groupId;
	}
	public void setGroupId(String groupId) {
		this.groupId = groupId;
	}
	@Column(name = "s_keyword",length=50)
	public String getKeyword() {
		return keyword;
	}
	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}
	@Column(name = "s_detailed_advice",length=1024)
	public String getDetailedAdvice() {
		return detailedAdvice;
	}
	public void setDetailedAdvice(String detailedAdvice) {
		this.detailedAdvice = detailedAdvice;
	}
	/*@Column(name = "s_keyword2",length=50)
	public String getKeyword2() {
		return keyword2;
	}
	public void setKeyword2(String keyword2) {
		this.keyword2 = keyword2;
	}
	@Column(name = "s_detailed_advice2",length=1024)
	public String getDetailedAdvice2() {
		return detailedAdvice2;
	}
	public void setDetailedAdvice2(String detailedAdvice2) {
		this.detailedAdvice2 = detailedAdvice2;
	}
	@Column(name = "s_keyword3",length=50)
	public String getKeyword3() {
		return keyword3;
	}
	public void setKeyword3(String keyword3) {
		this.keyword3 = keyword3;
	}
	@Column(name = "s_detailed_advice3",length=1024)
	public String getDetailedAdvice3() {
		return detailedAdvice3;
	}
	public void setDetailedAdvice3(String detailedAdvice3) {
		this.detailedAdvice3 = detailedAdvice3;
	}
	@Column(name = "s_keyword4",length=50)
	public String getKeyword4() {
		return keyword4;
	}
	public void setKeyword4(String keyword4) {
		this.keyword4 = keyword4;
	}
	@Column(name = "s_detailed_advice4",length=1024)
	public String getDetailedAdvice4() {
		return detailedAdvice4;
	}
	public void setDetailedAdvice4(String detailedAdvice4) {
		this.detailedAdvice4 = detailedAdvice4;
	}
	@Column(name = "s_keyword5",length=50)
	public String getKeyword5() {
		return keyword5;
	}
	public void setKeyword5(String keyword5) {
		this.keyword5 = keyword5;
	}
	@Column(name = "s_detailed_advice5",length=1024)
	public String getDetailedAdvice5() {
		return detailedAdvice5;
	}
	public void setDetailedAdvice5(String detailedAdvice5) {
		this.detailedAdvice5 = detailedAdvice5;
	}*/
	@Column(name = "s_create_time",length=20)
	public String getCreateTime() {
		return createTime;
	}
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
	@Transient
	public String getExpertName() {
		return expertName;
	}
	public void setExpertName(String expertName) {
		this.expertName = expertName;
	}
	@Transient
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	
}
